//
//  MDHWebViewModel.m
//  JSTech
//
//  Created by 高得华 on 2019/4/27.
//  Copyright © 2020 华&梅. All rights reserved.
//  所有含有`WKWebView`的视图的视图模型基类

#import "MDHWebViewModel.h"

@interface MDHWebViewModel ()

@end

@implementation MDHWebViewModel

- (instancetype)initWithServices:(id<MDHViewModelServices>)services params:(NSDictionary *)params {
    self = [super initWithServices:services params:params];
    if (self) {
        self.loadType = MDHWebViewLoadTypeLoadWebURL;
        self.keyboardEnableAutoToolbar = false;
        self.interactivePopDisabled = true;
    }
    return self;
}

@end
